package com.example.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.example.demo.entity.Student;

@RestController
public class TestController {
	
	@GetMapping("/test")
	public Student testRturnString() {
		Student user = new Student();
		user.setName("ali");
		user.setGender(1);	
		return user;
	}
	
}
